<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet"type="text/css"href="../../css/studentmanage.css">
    <link rel="stylesheet"type="text/css"href="../../css/bootstrap.css">
    <script src="../../js/jquery-2.1.0.min.js"></script>
    <script src="../../js/app.js"></script>
    <script type="text/javascript" language="javascript">
        function selectAllDels()
        { var allCheckBoxs = document.getElementsByName("preDelCheck");
            var desc = document.getElementById("allChecked");
            var selectOrUnselect=false;
            for(var i = 0; i < allCheckBoxs.length; i ++ ) {
                if(allCheckBoxs[i].checked){
                    selectOrUnselect=true;
                    break; } }
            if (selectOrUnselect) {
                _allUnchecked(allCheckBoxs); }else {
                _allchecked(allCheckBoxs); } }
        function _allchecked(allCheckBoxs){
            for(var i = 0; i < allCheckBoxs.length; i ++ ) {
                allCheckBoxs[i].checked = true; } }
        function _allUnchecked(allCheckBoxs){
            for(var i = 0; i < allCheckBoxs.length; i ++ ) {
                allCheckBoxs[i].checked = false; } } </script>
    <title>高校体育后台管理</title>
</head>
<body>
<div class="contain">
    <div class="title"style="background-color: #333744;margin-left: 0px;width: 188px;margin-top: -5px">
        <img src="../../image/运动世界.png" style="width: 30px;height: 35px;margin-left: 25px">
        <span class="side-title">运动世界</span>
    </div>
    <div class="title">
        <a id="add" href="#" style="color: black;margin-left: -100px">大连东软信息学院</a>
    </div>
    <div class="title" style="margin-top: 5px">
        <span>dldrxxadmin，欢迎您</span>
    </div>
</div>
<div class="touming">
    <div class="show">
        <div class="show-search">
            <input type="text" class="search-text" style="width: 250px;height: 30px;margin-top: 10px;margin-left: 50px" placeholder="请输入学校名称" name="q">
            <button type="submit" class="search-ic"><img src="../../image/查找.png" style="width: 15px;height: 15px"></button>
        </div>
        <div style="clear: both"></div>
        <a href="" id="name"style="margin-top: 20px;width: 300px">大连东软信息学院(点击收回)</a>
    </div>
</div>
<div class="logo-right">
    <div class="module">
        <a href="/data">
            <img src="../../image/数据总览.png" style="width: 22px;height: 22px">
            <span style="color: black">数据总览</span>
        </a>
    </div>
    <div class="module">
        <a href="../semestermanage.html">
            <img src="../../image/学期管理.png" style="width: 22px;height: 22px">
            <span style="color: black">学期管理</span>
        </a>
    </div>
    <div class="module">
        <a href="../login/PEadmin.html" >
            <img src="../../image/退出.png" style="width: 22px;height: 22px">
            <span style="color: black">退出</span>
        </a>
    </div>
</div>
<div class="sidebar">
    <ul>
        <li  class="main">
            <a href="#"><img src="../../image/校园系统.png">校园系统</a>
            <ul>
                <!--<li> <a href="../ui/departManage.html">院系管理 </a> </li>-->
                <li> <a href="../ui/teachermanage.html">教师管理 </a> </li>
                <li> <a href="../ui/studentmanage.html">学生管理 </a> </li>
                <li> <a href="../ui/classmanage.html">班级管理 </a> </li>
                <!--<li> <a href="../ui/课堂点名.html">课堂点名 </a> </li>-->
                <!--<li> <a href="../ui/newAnno.html">公告管理 </a> </li>-->
            </ul>
        </li>
        <li  class="main">
            <a href="#"><img src="../../image/课外运动系统.png">课外运动系统</a>
            <ul>
                <li> <a href="../sportsystem/sportConfig.html">运动管理 </a> </li>
                <li> <a href="../sportsystem/semesterTarget.html">学期目标管理 </a> </li>
                <li> <a href="../sportsystem/scoreManage.html">运动成绩管理 </a> </li>
                <li> <a href="../sportsystem/runManage.html">跑步管理 </a> </li>
                <!--<li> <a href="../ui/cheatManage.html">作弊管理 </a> </li>-->
                <!--<li> <a href="../ui/scoreImport.html">导出管理 </a> </li>-->
            </ul>
        </li>
        <!--<li  class="main">-->
            <!--<a href="#"><img src="../image/体测系统.png">体测系统</a>-->
            <!--<ul>-->
                <!--<li> <a href="../ui/history.html">体侧管理 </a> </li>-->
                <!--<li> <a href="../ui/test_scoreManage.html">体侧成绩管理 </a> </li>-->
            <!--</ul>-->
        <!--</li>-->
        <!--<li  class="main">-->
            <!--<a href="#"><img src="../image/场馆系统.png">场馆系统</a>-->
            <!--<ul>-->
                <!--<li> <a href="../ui/venueManage.html">场馆管理 </a> </li>-->
                <!--<li> <a href="../ui/userManage.html">用户管理 </a> </li>-->
                <!--<li> <a href="../ui/orderManage.html">订单管理 </a> </li>-->
                <!--<li> <a href="../ui/outInVenueManage.html">出入场管理 </a> </li>-->
            <!--</ul>-->
        <!--</li>-->
        <!--<li  class="main">-->
            <!--<a href="#"><img src="../image/考勤系统.png">考勤系统</a>-->
            <!--<ul>-->
                <!--<li> <a href="../ui/setAttendance.html">考勤设置管理 </a> </li>-->
                <!--<li> <a href="../ui/attendanceManage.html">考勤记录管理 </a> </li>-->
            <!--</ul>-->
        <!--</li>-->
    </ul>
</div>
<div class="content">
    <div id="studentmanage">
        <div class="breadcrumb"style="background-color: #f6f8f8">
            <img src="../../image/学生管理.png" class="logo-img" style="margin-left: 50px">
            <span style="margin-left: 5px">学生管理</span>
        </div>
        <div class="search">
            <select class="dropdown" name="list" onchange="window.location=this.value;"style="width: 150px;height: 30px;float: left;margin-top: 13px">
                <option value="../ui/searchByid.html">选择全部</option>
                <option value="../ui/searchByid.html">按学号查找</option>
                <option value="../ui/searchByname.html">按姓名查找</option>
            </select>
            <button type="button" class="btn btn-info"style="float: right;margin-left:10px; margin-top:10px;ckground-color: #20a0ff">筛选</button>
        </div>
        <div class="list">
            <div class="list-head">
                <div class="input">
                    <form class="right-search" action="#">
                        <button type="button" class="btn btn-info"style="margin-left: 10px;background-color: #20a0ff">批量解除冻结</button>
                        <a class="btn btn-default" style="margin-left: 10px;background-color: #20a0ff" href="addstudent.html" role="button">添加学生</a>
                        <button type="button" class="btn btn-info"style="margin-left: 10px;background-color: #20a0ff">批量添加学生</button>

                    </form>
                </div>
            </div>
            <table class="table"style="margin-top: 60px">
                <thead>
                <tr bgcolor="#dfe6ec">
                    <th><input type="button" id="allChecked" value="all" onClick="selectAllDels()"style="margin-left: -5px"></th>
                    <th>校园号</th>
                    <th>姓名</th>
                    <th>性别</th>
                    <th>班级</th>
                    <th>课程</th>
                    <th></th>
                </tr>
                </thead>
                <tbody id="showInfoStudent">
                <tr>
                <td><input type="checkbox" name="preDelCheck" value="cream"class="select"style="width: 20px;height:20px"></td>
                </tr>
                </tbody>
            </table>
            <div>
                <div class="pager" style="margin-left: 1110px">
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default"style="width: 30px;height: 27.6px">1</button>
                        <button type="button" class="btn btn-default"style="width: 30px;height: 27.6px">2</button>
                        <span style="margin-left: 5px">前往<input style="width: 30px;height: 27.6px">页</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="footer">
    <span  style="margin-left: 120px;">客服电话：400 800 9198</span>
    <span  style="margin-left: 80px;">ZHE JIANG WAN HANG INFORMATION TECHNOLOGY CO. LTD</span>
</div>
<script>
    load()
    function load() {
        $.ajax({
            url: '/Student/GetStudent',
            type: 'post',
            dateType:'json',
            success:function (resp) {
                if (resp.resultCode == 0){
                    var htmlStr = "";
                    for (var i = 0; i < resp.datas.length; i++) {
                        var bean1 = resp.datas[i];
                        var str = "<tr>" +
                            '<td><input type="checkbox" name="preDelCheck" value="cream"class="select"style="width: 20px;height:20px"></td>'+
                            "<td>" + bean1.studentid + "</td>" +
                            "<td>" + bean1.name + "</td>" +
                            "<td>" + bean1.sex + "</td>" +
                            "<td>" + bean1.classnumber + "</td>"+
                            "<td>" + bean1.course + "</td>"+
                            "</tr>"
                        htmlStr += str;
                    }

                    $("#showInfoStudent").html(htmlStr);
                }
            }

        });
    }
</script>

<script>
    $('#add').click(function () {
        $('.touming').show();

    })
    $('#show-icon').click(function () {
        $('.touming').hide();
    })
</script>
<script type="text/javascript">
    $(function(){
    })
    function openDialog(){
        document.getElementById('light').style.display='block';
        document.getElementById('fade').style.display='block'
    }
    function closeDialog(){
        document.getElementById('light').style.display='none';
        document.getElementById('fade').style.display='none'
    }
</script>
</body>
</html>